package com.sys.user.domain;


import com.sys.core.init.mysql.BaseEntity;
import com.sys.core.init.mysql.annotation.Column;
import com.sys.core.init.mysql.annotation.Id;
import com.sys.core.init.mysql.annotation.Table;

import java.util.Date;

/**
 * Created by 汤伟杰 on 2017/6/27.
 */
//@Entity
@Table(name="czj_xy_table",describe = "数据库表")
public class Xytable extends BaseEntity {
    @Id
    @Column(describe = "主键",length = 19,inputType = "hidden")
    private String tableId;
    @Column(describe = "表名",length = 19)
    private String tableName;
    @Column(describe = "类名",length = 19)
    private String className;//类名开头大写 例如 Czjuserinfo
    private String classname;//类名开头小写 例如 czjuserinfo
    @Column(describe = "引擎",length = 19)
    private String engine;//引擎
    @Column(describe = "描述",length = 255)
    private String describe;//描述
    @Column(describe = "创建时间",inputType = "date")
    private Date createtime;//创建时间
    private Date createtimeStart;//开始创建时间
    private Date createtimeEnd;//结束创建时间
    @Column(describe = "最后更新时间",inputType = "date")
    private Date updatetime;//最后更新时间
    private Date updatetimeStart;
    private Date updatetimeEnd;

    private Xycolumn xycolumn;//主键实体

    public String getTableId() {
        return tableId;
    }

    public void setTableId(String tableId) {
        this.tableId = tableId;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getClassname() {
        return classname;
    }

    public void setClassname(String classname) {
        this.classname = classname;
    }


    public String getEngine() {
        return engine;
    }

    public void setEngine(String engine) {
        this.engine = engine;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getCreatetimeStart() {
        return createtimeStart;
    }

    public void setCreatetimeStart(Date createtimeStart) {
        this.createtimeStart = createtimeStart;
    }

    public Date getCreatetimeEnd() {
        return createtimeEnd;
    }

    public void setCreatetimeEnd(Date createtimeEnd) {
        this.createtimeEnd = createtimeEnd;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public Date getUpdatetimeStart() {
        return updatetimeStart;
    }

    public void setUpdatetimeStart(Date updatetimeStart) {
        this.updatetimeStart = updatetimeStart;
    }

    public Date getUpdatetimeEnd() {
        return updatetimeEnd;
    }

    public void setUpdatetimeEnd(Date updatetimeEnd) {
        this.updatetimeEnd = updatetimeEnd;
    }

    public Xycolumn getXycolumn() {
        return xycolumn;
    }

    public void setXycolumn(Xycolumn xycolumn) {
        this.xycolumn = xycolumn;
    }

}
